const getters = {
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    roles: state => state.user.roles,
    permissions: state => state.user.permissions,
    userId: state => state.user.userId,
    companyId: state => state.user.companyId,
    comName: state => state.user.comName,
    userType: state => state.user.userType
}
export default getters
